package com.soxing.braindata.scheduler;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.soxing.braindata.dao.entity.TesteeExperimentFile;
import com.soxing.braindata.dao.service.ITesteeExperimentFileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.Scheduled;

import java.util.List;

@Slf4j
//@Configuration
public class DockerScheduler {



    private ITesteeExperimentFileService testeeExperimentFileService;
    //这个原理有点不太清楚目前
    @Scheduled
    public void excute()
    {

        List<TesteeExperimentFile> testeeExperimentFileList = testeeExperimentFileService.list(new LambdaQueryWrapper<TesteeExperimentFile>().eq(TesteeExperimentFile::getQa,-1));
        for(TesteeExperimentFile item:testeeExperimentFileList)
        {

        }

    }


    public void caculate()
    {

    }

}
